package com.ruoyi.project.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.project.mapper.ProMeetingMapper;
import com.ruoyi.project.domain.ProMeeting;
import com.ruoyi.project.service.IProMeetingService;

/**
 * 会议信息Service业务层处理
 * 
 * @author cxc
 * @date 2024-12-02
 */
@Service
public class ProMeetingServiceImpl implements IProMeetingService 
{
    @Autowired
    private ProMeetingMapper proMeetingMapper;

    /**
     * 查询会议信息
     * 
     * @param id 会议信息主键
     * @return 会议信息
     */
    @Override
    public ProMeeting selectProMeetingById(Long id)
    {
        return proMeetingMapper.selectProMeetingById(id);
    }

    /**
     * 查询会议信息列表
     * 
     * @param proMeeting 会议信息
     * @return 会议信息
     */
    @Override
    public List<ProMeeting> selectProMeetingList(ProMeeting proMeeting)
    {
        return proMeetingMapper.selectProMeetingList(proMeeting);
    }

    /**
     * 新增会议信息
     * 
     * @param proMeeting 会议信息
     * @return 结果
     */
    @Override
    public int insertProMeeting(ProMeeting proMeeting)
    {
        return proMeetingMapper.insertProMeeting(proMeeting);
    }

    /**
     * 修改会议信息
     * 
     * @param proMeeting 会议信息
     * @return 结果
     */
    @Override
    public int updateProMeeting(ProMeeting proMeeting)
    {
        return proMeetingMapper.updateProMeeting(proMeeting);
    }

    /**
     * 批量删除会议信息
     * 
     * @param ids 需要删除的会议信息主键
     * @return 结果
     */
    @Override
    public int deleteProMeetingByIds(Long[] ids)
    {
        return proMeetingMapper.deleteProMeetingByIds(ids);
    }

    /**
     * 删除会议信息信息
     * 
     * @param id 会议信息主键
     * @return 结果
     */
    @Override
    public int deleteProMeetingById(Long id)
    {
        return proMeetingMapper.deleteProMeetingById(id);
    }
}
